<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<c:url value="css/crp.css" var="cssUrl"/>
<link rel="stylesheet" type="text/css" href="${cssUrl}"/>
<title>Community Repair Partners</title>
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	left:373px;
	top:230px;
	width:585px;
	height:236px;
	z-index:1;
}

-->
<!--
#apDiv3 {
	position:absolute;
	left:-52px;
	top:-71px;
	width:687px;
	height:63px;
	z-index:2;
}
#apDiv3 h1 {
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: xx-large;
}
#apDiv4 {
	position:absolute;
	left:348px;
	top:100px;
	width:338px;
	height:20px;
	z-index:3;
}
#apDiv5 {
	position:absolute;
	left:82px;
	top:51px;
	width:528px;
	height:33px;
	z-index:4;
}
#apDiv7 {
	position:absolute;
	left:91px;
	top:113px;
	width:522px;
	height:30px;
	z-index:5;
}
#apDiv8 {
	position:absolute;
	left:242px;
	top:172px;
	width:227px;
	height:33px;
	z-index:6;
}
#apDiv1 form #apDiv5 label {
	font-size: 24px;
}
#apDiv1 form #apDiv7 label {
	font-size: 24px;
}
.bigtext{
	font-size: 24px;
	border-radius: 5px;
	border: thin solid #000;
}
.bigbutton{
	font-size: 24px;
	border-radius: 5px;
	border: thin solid #000;
}
.bigbutton:hover{
	color: #FFF;
	background: #900;
}
#apDiv9 {
	position:absolute;
	left:473px;
	top:242px;
	width:432px;
	height:31px;
	z-index:2;
}
#apDiv10 {
	position:absolute;
	left:13px;
	top:11px;
	width:565px;
	height:26px;
	z-index:7;
	font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
</head>
<body>

<div class="roundBoarders" id="apDiv1">
  
  <form name="form2" method="post" action="j_spring_security_check">
  <div id="apDiv3">
  <h1>CRP Web Login</h1>
</div>
<c:if test="${not empty error}">
<div id="apDiv10"><CENTER>Login failure: ${message}</CENTER></div>
</c:if>
<div id="apDiv5">
	
  <label for="UserName">UserName</label>
  <input class="bigtext" type='text' name='j_username' id='j_username' value="${SPRING_SECURITY_LAST_USERNAME}">
</div>
<div id="apDiv7">
  <label for="Password">Password</label>
  <input class="bigtext" type='password' name='j_password' id='j_password'>
</div>
<div id="apDiv8">
  <label for="Log In"></label>
  <input type="submit" class="bigbutton" name="Log In" id="Log In" value="Log In">
</div>
  </form>
</div>


</body>
</html>